package com.qf.java2201.mapper;

import com.qf.java2201.pojo.Logistics;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;

import java.util.List;
import java.util.Map;

/**
 * ========  测试 查询     ========
 * Time: 2022/4/26
 */


public interface LogisticsListMapper {

//    @Select("select * from logistics where id = #{id}")
//    public Logistics select(@Param("id") Integer id);

//查询分页数据
    List<Logistics> selectByParams(Map<String, Object> params);

    int addLogistics(Logistics logistics);

    //03-编辑物流信息数据  (更新 /修改)
    int updateLogistics(Logistics logistics);

    int deleteLogistics(Integer id);
}
